package itsm.isperp.module.entity.change;

import itsm.isperp.framework.domain.IBean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.apache.solr.client.solrj.beans.Field;

/**
 * 
 * 
 * 
 * @author lizx
 * @date 2014-7-17
 * @since 1.0
 * 
 */
@Entity
@Table(name = "chg_risk_element")
public class ChgRiskElement implements IBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@Field("id")
	private String id;

	@Column
	@Field("code")
	private String code;

	@Column
	@Field("name")
	private String name;

	@Column
	@Field("contents")
	private String contents;
	
	@Column
	private int influence;

	@Column
	private String categoryId;
	
	@Column
	private String categoryCode;
	
	@Column
	private int orderNum;

	public int getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(int orderNum) {
		this.orderNum = orderNum;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContents() {
		return contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public int getInfluence() {
		return influence;
	}

	public void setInfluence(int influence) {
		this.influence = influence;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId; 
	}

	public String getCategoryCode() {
		return categoryCode;
	}

	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}
}
